﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;

namespace SheepCultivation.Common.Domain.PurchaseSales
{
    /// <summary>
    /// 客户管理
    /// </summary>
    public class ClientManage
    {
        /// <summary>
        /// 客户管理Id
        /// </summary>
        [Key]
        public int ManageId { get; set; }
        /// <summary>
        /// 客户编号
        /// </summary>
        public int ClientNo { get; set; }
        /// <summary>
        /// 客户类型
        /// </summary>
        public int ClientType { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string Name { get; set; }
        
        /// <summary>
        /// 身份证
        /// </summary>
        public string Card { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public int ProvinceId { get; set; }
        /// <summary>
        /// 地址名称
        /// </summary>
        public string Addresses { get; set; }
        /// <summary>
        /// 所属行业
        /// </summary>
        public string Industry { get; set; }
        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public int Sharp { get; set; }
        /// <summary>
        /// 助记码
        /// </summary>
        public int Mnemonic { get; set; }
        /// <summary>
        /// 客户的归集档案
        /// </summary>
        public string File { get; set; }
        /// <summary>
        /// 客户阶段
        /// </summary>
        public string Stage { get; set; }
        /// <summary>
        /// 客户自定义标签
        /// </summary>
        public int UseStatus { get; set; }
        /// <summary>
        /// 意向产品
        /// </summary>
        public string Products { get; set; }
        /// <summary>
        /// 合作日期
        /// </summary>
        public DateTime CooperateDate { get; set; }
        /// <summary>
        /// 所属单位
        /// </summary>
        public string Affiliation { get; set; }
        /// <summary>
        /// 使用状态
        /// </summary>
        public int UsageStatus { get; set; }
        /// <summary>
        /// 上级客户
        /// </summary>
        public int ClientId { get; set; }
        /// <summary>
        /// 客户级别
        /// </summary>
        public int CustomerLevel { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Desc { get; set; }
        /// <summary>
        /// 所属市场
        /// </summary>
        public int MarketId { get; set; }
        /// <summary>
        /// 业务员id
        /// </summary>
        public int SalesmanId { get; set; }
    }
}
